<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('AdminExpressTemplate/index')}">运费模板显示</a></li>
        <li><a href="{:url('AdminExpressTemplate/add')}">添加运费模板</a></li>
    </ul>
    <form method="post" class="js-ajax-form margin-top-20" action="{:url('AdminExpressTemplate/listOrder')}">
        <div class="table-actions">
            <button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
        </div>
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="2%">排序</th>
                <th width="3%">ID</th>
                <th width="30%">模板名称</th>
                <th width="10%">首重</th>
                <th width="10%">首价</th>
                <th width="10%">续重</th>
                <th width="10%">续价</th>
                <th width="10%">操作</th>
            </tr>
            </thead>
            <tbody>
                <foreach name="data" id="da">
                    <tr>
                        <td><input name="list_orders[{$da['id']}]" type='text' size='3' value="{$da.list_order}" class='input-order'></td>
                        <td>{$da.id}</td>
                        <td>{$da.name}</td>
                        <td>{$da.ykg}</td>
                        <td>{$da.ymoney}</td>
                        <td>{$da.addkg}</td>
                        <td>{$da.addmoney}</td>
                        <td>
                            <a href="{:url('AdminExpressTemplate/edit',array('id'=>$da['id']))}">编辑</a> |
                            <a href="javascript:;" onclick="del('{$da['id']}')" class="">删除</a>
                        </td>
                    </tr>
                </foreach>
            </tbody>
            <tfoot>
            <tr>
                <th >排序</th>
                <th >ID</th>
                <th >模板名称</th>
                <th >首重</th>
                <th >首价</th>
                <th >续重</th>
                <th >续价</th>
                <th >操作</th>
            </tr>
            </tfoot>
        </table>
        <div class="table-actions">
            <button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>
        </div>
    </form>
    <ul class="pagination"></ul>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script>
    function del(e) {

    }
</script>
</body>
</html>